<%@page contentType="text/html; charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<head>
<link href="${ctxPath}/resource/front/css/index.css" rel="stylesheet" type="text/css" />
<link href="${ctxPath}/resource/front/css/domestic_flight.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="${ctxPath}/resource/front/lib/jquery.autocomplete.css" />
<link rel="stylesheet" type="text/css" href="${ctxPath}/resource/front/lib/thickbox.css" />
<link type="text/css" href="${ctxPath}/resource/front/lib/base/jquery.ui.all.css" rel="stylesheet" />
<link type="text/css" href="${ctxPath}/resource/front/lib/demos.css" rel="stylesheet" />
<script src="${ctxPath}/resource/front/lib/contentslider.js" type="text/javascript"></script>
<script type="text/javascript">
function jsAction(){
	 var url=encodeURI(__ctxPath+"/front/order/orderSearch.do");
	 
	 var flightName=$("#flightName").val();
	 var arriName=$("#arriName").val();
	 var flightDate=$("#datepicker").val();
	 if(flightName==''){
		 alert('请选择出发城市');
		 $("#flightName").focus();
		 return false;
	 }
	 if(arriName==''){
		 alert('请选择到达城市');
		 $("#arriName").focus();
		 return false;
	 }
	 if(flightDate==''){
		 alert('请选择出发时间');
		 $("#datepicker").focus();
		 return false;
	 }
	   document.search.action = url;
	   document.search.submit();
}
</script>
</head>
<body>
<!--logo-->
<!--menu-->
<div id="floor2nd" style="width:1000px;margin:0px auto;">
<!--left-->
<div id="left">
<!--search-->
<div id="search">
	<ul class="search_title">
	<li class="domestic_search"><img src="${ctxPath}/resource/front/image/international_ticket/search_icon.gif" width="31" height="29" align="absmiddle"/>&nbsp;&nbsp;&nbsp;&nbsp;国内机票查询</li>
	</ul>
    <ul class="search">
       <!--fare-->
       <form id="search" name="search" action="">
      <li class="domestic_frametop">
      	 航程类型： 
        <input name="flightType" id="sel" type="radio" value="1" checked="checked" />单程&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;
       <!--  <input name="flightType" id="sel1"type="radio" value="2" />往返 -->
        <div id="city_find">
          <ul class="go_city">
            出发城市：
         	<input type="text" style="width:120px" name="flightName" id="flightName"  />
            <input name="depcity" autocomplete="off"  id="dep" />
            <input type="hidden" name="flightCode" id="flightCode" />
            <div name="cityframe" id="oyesgo_city_popping" >
              <h3>Top  20热门城市</h3>
              <ul>
              </ul>
              <a title="close" id="oyesgo_city_closewin" class="arr_btn_close"></a> </div>
          </ul>
          <ul class="go_city">
            到达城市：
            <input  type="text" style="width:120px" name="arriName" id="arriName"  />
            <input name="arrcity" autocomplete="off" id="arr" />
             <input type="hidden"  name="arriCode" id="arriCode" />
            <div name="cityframe1" id="oyesgo_city_popping" >
              <h3>Top  20热门城市</h3>
              <ul>
              </ul>
              <a title="close" id="oyesgo_city_closewin" class="arr_btn_close"></a> </div>
          </ul>
        </div>
      </li>
      
      <li class="domestic_framebottom">
        <div id="time">
          <ul>
            <li>出发日期：
              <input type="text" id="datepicker" name="flightDate" style="width:120px" />
            </li>
      <!--       <li>出发日期：
              <input type="text" id="datepicker1"  style="width:120px"/>
            </li> -->
          </ul>
        </div>
      </li>
      
      <li class="submitbox">
        <table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr style="text-align: center;">
         <%--    <td align="right"><img src="${ctxPath}/resource/front/image/index/reset_submit.gif" width="84" height="23" onclick="javascript:document.search.reset();"></td>
            --%> <td><img src="${ctxPath}/resource/front/image/index/search_submit.gif" width="84" height="23" onclick="javascript:jsAction();"/></td>
          </tr>
        </table>
      </li>     
      </form>
    </ul>
</div>
<div class="domestic_contact">
	<ul class="contact_title"><img src="${ctxPath}/resource/front/image/aboutus/contact_theme.gif" width="70" height="12" align="absmiddle"/>&nbsp;&nbsp;联系方式</ul>
	<ul class="contact_pic"><img src="${ctxPath}/resource/front/image/aboutus/contact1.gif" width="345" height="153"/></ul>
	<ul class="contact_online"><img src="${ctxPath}/resource/front/image/public/online.gif" width="333" height="101"/></ul>
	<ul class="address">
		<li>&lt;联系地址&gt;：广州市建设大马路八号之三逸雅居中堂410室</li>
		<li>&lt;邮政编码&gt;：510060</li>
	</ul>
</div>
<div id="help">
	<ul class="help_title"><img src="${ctxPath}/resource/front/image/international_ticket/dot.gif"/>&nbsp;&nbsp;帮助中心</ul>
	<ul>
		<table width="100%"  border="0" cellspacing="0" cellpadding="0">
		  <c:forEach var="item" items="${systemHelps}" end="2">
		    <td class="help_list">
		    <img src="${ctxPath}/resource/front/image/members/help_dot.gif"/>&nbsp;&nbsp;
		    <a href="${ctxPath}/front/index.do?cmd=helpDetail&id=${item.systemId}">${item.title}</a></td>
		  </c:forEach>
		 </tr>
		</table>

	</ul>

</div>

</div>
<!--right-->
<div id="right">
	<div id="ticket_list">
	<ul class="ticket_list_title"><img src="${ctxPath}/resource/front/image/members/help_dot.gif"/>&nbsp;&nbsp;帮助中心</ul>
	<ul style="padding:10px 30px; line-height:25px; ">
		<li style=" font-weight:bold; color:#0066FF; font-size:14px;">${systemHelp.title}</li>
		  <li>	${systemHelp.content}</li>
	</ul>
</div>
    
    </div>
</div>
	<script type="text/javascript" src="${ctxPath}/resource/front/lib/jquery.ui.core.js" charset="gb2312"></script>
	<script type="text/javascript" src="${ctxPath}/resource/front/lib/jquery.ui.widget.js" charset="gb2312"></script>
	<script type="text/javascript" src="${ctxPath}/resource/front/lib/jquery.ui.datepicker.js" charset="gb2312"></script>
    <script type="text/javascript" src="${ctxPath}/resource/front/lib/date.js" charset="gb2312"></script>
    
<script type="text/javascript" src="${ctxPath}/resource/front/lib/jquery.bgiframe.min.js" charset="gb2312"></script>
<script type="text/javascript" src="${ctxPath}/resource/front/lib/jquery.ajaxQueue.js" charset="gb2312"></script>
<script type="text/javascript" src="${ctxPath}/resource/front/lib/thickbox-compressed.js" charset="gb2312"></script>
<script type="text/javascript" src="${ctxPath}/resource/front/lib/jquery.autocomplete.js" charset="gb2312"></script>

<script type="text/javascript" src="${ctxPath}/resource/front/lib/copyinput.js" charset="gb2312"></script>
<script type="text/javascript" src="${ctxPath}/resource/front/lib/hot_20city.js" > </script>
</body>